package com.qyhl.module_home.main;


import com.qyhl.webtv.commonlib.entity.config.AppConfigBean;
import com.qyhl.webtv.commonlib.entity.home.TokenBean;

/**
 * Created by PVer on 2017/10/3.
 */

public interface MainContract {

    interface MainView {
        void regainConfig();//重新获取配置信息

        void successConfig(AppConfigBean bean);
    }

    interface MainPresenter {
        void configHttpError();//配置信息请求失败

        void setConfig(AppConfigBean bean);//设置配置信息

        void getConfig();

        void compareToken();

        void compareSuccess(TokenBean bean);

        void compareError();
    }

    interface MainModel {
        void getConfig();//获取配置信息

        void compareToken(String token);
    }
}
